package com.xiaoxin.nmzp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 职位管理对象 nmzp_job
 *
 * @author xiaoxin
 * @date 2024-10-18
 */
@Data
public class NmzpJob {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long jobId;

    /**
     * 工作名称
     */
    @Excel(name = "工作名称")
    private String jobName;

    /**
     * 简介
     */
    @Excel(name = "简介")
    private String positionName;

    /**
     * 工作要求
     */
    @Excel(name = "工作要求")
    private String jobAsk;

    /**
     * 大概薪资，（不写就为面谈）
     */
    @Excel(name = "大概薪资，", readConverterExp = "不=写就为面谈")
    private String jobBudget;

    /**
     * 工作地点(枚举类写死)
     */
    @Excel(name = "工作地点(枚举类写死)")
    private Long address;

    /**
     * 公司
     */
    @Excel(name = "公司")
    private Long companyId;

    /**
     * 发布工作人员
     */
    @Excel(name = "发布工作人员")
    private Long publishUserId;

    /**
     * 工作描述，比如vue，java
     */
    @Excel(name = "工作描述，比如vue，java")
    private String jobDescription;

    /**
     * 创建user
     */
    @Excel(name = "创建user")
    private Long createUser;

    /**
     * 职位类型
     */
    @Excel(name = "职位类型")
    private Long jobType;

    /**
     * 简历ID集合
     */
    @Excel(name = "简历ID集合")
    private String resumeId;

    /**
     * 删除标识（0默认 1删除）
     */
    @Excel(name = "删除标识", readConverterExp = "0=默认,1=删除")
    private Long idDel;
    /**
     * 职位状态（0：未审核，1：审核通过，2：审核未通过，3上线中，4下线）
     */
    private Long status;



    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    public Long getJobId() {
        return jobId;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobName() {
        return jobName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setJobAsk(String jobAsk) {
        this.jobAsk = jobAsk;
    }

    public String getJobAsk() {
        return jobAsk;
    }

    public void setJobBudget(String jobBudget) {
        this.jobBudget = jobBudget;
    }

    public String getJobBudget() {
        return jobBudget;
    }

    public void setAddress(Long address) {
        this.address = address;
    }

    public Long getAddress() {
        return address;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setPublishUserId(Long publishUserId) {
        this.publishUserId = publishUserId;
    }

    public Long getPublishUserId() {
        return publishUserId;
    }

    public void setJobDescription(String jobDescription) {
        this.jobDescription = jobDescription;
    }

    public String getJobDescription() {
        return jobDescription;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setJobType(Long jobType) {
        this.jobType = jobType;
    }

    public Long getJobType() {
        return jobType;
    }

    public void setResumeId(String resumeId) {
        this.resumeId = resumeId;
    }

    public String getResumeId() {
        return resumeId;
    }

    public void setIdDel(Long idDel) {
        this.idDel = idDel;
    }

    public Long getIdDel() {
        return idDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("jobId", getJobId())
                .append("jobName", getJobName())
                .append("positionName", getPositionName())
                .append("jobAsk", getJobAsk())
                .append("jobBudget", getJobBudget())
                .append("address", getAddress())
                .append("companyId", getCompanyId())
                .append("publishUserId", getPublishUserId())
                .append("jobDescription", getJobDescription())
                .append("createUser", getCreateUser())
                .append("jobType", getJobType())
                .append("resumeId", getResumeId())
                .append("idDel", getIdDel())
                .toString();
    }
}
